package com.nondo.rdp.finance.service.impl.collection;

import com.nondo.rdp.finance.domain.collection.XimalayaAlbum;
import com.nondo.rdp.finance.repository.collection.XimalayaAlbumRepository;
import com.nondo.rdp.finance.service.collection.XimalayaAlbumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Transactional
@Service
public class XimalayaAlbumServiceImpl implements XimalayaAlbumService {
    @Autowired
    XimalayaAlbumRepository ximalayaAlbumRepository;

    @Override
    public XimalayaAlbum findByAlbumId(int albumId) {
        return this.ximalayaAlbumRepository.findByAlbumId(albumId);
    }
}